<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Main Page</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            margin: 0;
            padding: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }
        .container {
            text-align: center;
        }
        h1 {
            color: #333;
            margin-bottom: 20px;
        }
        .btn {
            display: inline-block;
            padding: 10px 20px;
            margin: 5px;
            text-decoration: none;
            color: #fff;
            background-color: #007bff;
            border-radius: 5px;
            transition: background-color 0.3s;
        }
        .btn:hover {
            background-color: #0056b3;
        }
    </style>
</head>
<body>
<div class="container">
    <h1>欢迎来到主界面</h1>
    <p>用户权限功能:</p>

    <a th:href="@{/userdetail/follow}" class="btn">关注用户</a>
    <br><br>
    <a th:href="@{/user/updateuserinfo}" class="btn">重置用户登录信息</a>
    <br><br>
    <a th:href="@{/user/findbyname}" class="btn">根据用户名查找用户登录信息</a>
    <br><br>
    <a th:href="@{/video/upload}" class="btn">上传文件</a>
    <br><br>
    <a th:href="@{/video/search}" class="btn">搜索视频</a>
</div>
</body>
</html>